// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import http from '../src/util/http'

import store from './router/store'

import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import qs from 'qs'

import VideoPlayer from 'vue-video-player'
import 'vue-video-player/src/custom-theme.css'
import 'video.js/dist/video-js.css'

// 视频加密
import hls from 'videojs-contrib-hls'
Vue.use(hls)

import "@/assets/iconfont/iconfont.css";


// 弹幕
import { vueBaberrage } from 'vue-baberrage'
Vue.use(vueBaberrage);

Vue.use(VideoPlayer)
Vue.use(ElementUI)

Vue.config.productionTip = false
Vue.prototype.$http=http
Vue.prototype.$qs=qs


/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  qs,
  components: { App },
  template: '<App/>'
})
